.page-container {
  width: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  height: 100vh; // 设置高度为视口高度
  padding-bottom: 150px; // 防止内容被底部遮挡
}

/* 服务图标区域 */
.service-grid {
  padding: $uni-spacing-base;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: $uni-spacing-base $uni-spacing-xs;
  margin-bottom: $uni-spacing-sm;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: $uni-spacing-xs 0;
}

.icon-container {
  width: 120rpx;
  height: 120rpx;
  border-radius: $uni-border-radius-circle;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: $uni-spacing-xs;
}

.icon {
  width: 60rpx;
  height: 60rpx;
}

.service-name {
  font-size: $uni-font-size-xs;
  color: $uni-text-color;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 通用区块样式 */
.section-container {
  padding: $uni-spacing-base;
  margin-bottom: $uni-spacing-sm;
}

.section-header {
  margin-bottom: $uni-spacing-sm;
}

.section-title {
  font-size: $uni-font-size-lg;
  font-weight: 600;
  color: $uni-text-color;
}

.more-link {
  font-size: $uni-font-size-xs;
  color: $uni-color-primary;
}

/* 课表标签 */
.schedule-tabs {
  display: flex;
  gap: $uni-spacing-xs;
  margin-bottom: $uni-spacing-sm;
  overflow-x: auto;
  padding-bottom: $uni-spacing-xs;
}

.tab-item {
  padding: 8rpx 24rpx;
  background-color: $uni-bg-color;
  border-radius: 20rpx;
  font-size: $uni-font-size-sm;
  color: $uni-text-color-secondary;
  white-space: nowrap;
}

.tab-item.active {
  background-color: $uni-color-primary;
  color: #fff;
}

/* 课表内容 */
.schedule-content {
  display: flex;
  flex-direction: column;
  gap: $uni-spacing-sm;
}

/* 成长档案 */
.growth-archive {
  display: flex;
  flex-direction: column;
  gap: $uni-spacing-sm;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: $uni-spacing-lg 0;
}

.empty-icon {
  width: 180rpx;
  height: 180rpx;
  margin-bottom: $uni-spacing-sm;
  opacity: 0.5;
}

.empty-text {
  font-size: $uni-font-size-sm;
  color: $uni-text-color-placeholder;
}
